package com.my.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ArticleTag implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long articleId;
    private Long tagId;
    @TableLogic
    private boolean isDelete;
    private Date createTime;
    private Date updateTime;

}
